package com.cloud.pikachu.storage.api.vo;

import lombok.Data;

/**
 * 通用VO返回包装
 * @param <T>
 */
@Data
public class ExecuteResult<T> {
	private int status = 200;
	private String des = "OK";
	private T result = null;

	public ExecuteResult() {
	}

	public ExecuteResult(int status, String des) {
		this.status = status;
		this.des = des;
	}

	public void setError(int status , String des){
		this.status = status;
		this.des = des;
	}
}
